// pages/input/input.js
Page({

    /**
     * 页面的初始数据
     */
    data: {
        value:"",
        lists:[]
    },
    onConfirm(event){
        // console.log(event.detail)
        var value = event.detail.value;
        console.log(value)
        var lists = this.data.lists;
        lists.push(value);
        this.setData({
            lists,
            value:""
        })
    },
    handleChange(event){
        console.log(event)
    }
})